package OOday03;

public class DogS extends AnimalFather {

    String food;
    DogS(){

    }
    DogS(String name , int age , String color , String food){
        super(name,age,color);
        this.food=food;
    }
    @Override
    void eat() {
        System.out.println(color+"色的"+name+age+"岁了，他正在吃"+food);
    }
}
